package cn.wolfcode.car.business.service;

import cn.wolfcode.car.business.domain.CarPackageAudit;
import cn.wolfcode.car.business.query.CarPackageAuditQueryObject;
import cn.wolfcode.car.common.base.page.TablePageInfo;

import java.io.InputStream;
import java.math.BigDecimal;
import java.util.List;

/**
 * icar包审计服务
 *
 * @author RNIZ
 * @date 2021/11/18
 */
public interface ICarPackageAuditService {

    /**
     * 分页
     * @param qo
     * @return
     */
    TablePageInfo<CarPackageAudit> query(CarPackageAuditQueryObject qo);


    /**
     * 查单个
     * @param id
     * @return
     */
    CarPackageAudit get(Long id);


    /**
     * 保存
     * @param carPackageAudit
     */
    void save(CarPackageAudit carPackageAudit);

  
    /**
     * 更新
     * @param carPackageAudit
     */
    void update(CarPackageAudit carPackageAudit);

  
    /**
     * 查询全部
     * @return
     */
    List<CarPackageAudit> list();


    void updateByInstanceId(CarPackageAudit carPackageAudit);

    InputStream processImg(Long id);

    void cancelApply(Long id);

    void audit(Long id, Integer auditStatus, String info);
}
